package fhq.hcmute.edu.vn.adapter;

/**
 * @author Hien Nguyen Oct 2, 2012
 */
public class SettingItem {
	private String settingTile;
	private String caption;
	private String description;
	private boolean isChecked = false;
	private boolean hasCheckBox = false;
	private boolean hasSettingTitle = false;


	public final boolean hasSettingTitle() {
		return hasSettingTitle;
	}

	public final boolean hasCheckBox() {
		return hasCheckBox;
	}

	public final void setCheckBox(boolean hasCheckBox) {
		this.hasCheckBox = hasCheckBox;
	}

	public final String getSettingTile() {
		return settingTile;
	}

	public final void setSettingTile(String settingTile) {
		this.settingTile = settingTile;
	}

	public final String getCaption() {
		return caption;
	}

	public final void setCaption(String caption) {
		this.caption = caption;
	}

	public final String getDescription() {
		return description;
	}

	public final void setDescription(String description) {
		this.description = description;
	}

	public final boolean isChecked() {
		return isChecked;
	}

	public final void setChecked(boolean isChecked) {
		this.isChecked = isChecked;
	}

	public SettingItem(String caption, String description) {
		this.caption = caption;
		this.description = description;
		this.settingTile = "";
		this.isChecked = false;
		this.hasCheckBox = false;
		this.hasSettingTitle = false;
	}

	public SettingItem(String settingTile) {
		this.settingTile = settingTile;
		this.isChecked = false;
		this.hasCheckBox = false;
		this.hasSettingTitle = true;
	}

	public SettingItem(String caption, String description, boolean isChecked) {
		this.settingTile = "";
		this.caption = caption;
		this.description = description;
		this.isChecked = false;
		this.hasCheckBox = true;
		this.hasSettingTitle = false;
	}

}
